<?php
class IndexAction extends CommonAction{
    public function index(){
    	$arc=new Model();
		$condition=array();
		$condition['arc.is_show']="1";
		$condition['lang.lang']=$this->lang;
		$condition['arc.'.$this->plang['l'].'name']=array('neq','');
		$field="arc.*,lang.url as url,lang.about as about";
		$data_list=$arc->Table('iic_arc arc')->join("iic_arc_lang lang On arc.id=lang.aid")->Field($field)->where($condition)->order("arc.activetime DESC")->limit('0,20')->Select();
		$this->assign('hot',$data_list);
		$this->clickorshow($data_list,'0');
		
		parent::site_of_day(7,'arc','0,1');
		parent::featured_link();
		parent::cool_link();
		
		$page=array();
		$page['title']="";
		$page['keywords']="";
		$page['description']='';
		$page['expires']='';
		$this->assign("page",$page);
        $this->display();
    }
    
    
}
?>